package com.pzhu.dormitory.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author
 * @email
 * @date 2021-05-01 15:11:29
 */
@Data
@ToString
@TableName("position")
@ApiModel(value = "Position对象", description = "")
public class PositionEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 寝室号
     */
    @ApiModelProperty(value = "寝室号")
    private Long roomId;
    /**
     * 位置
     */
    @ApiModelProperty(value = "位置")
    private String position;

    @ApiModelProperty(value = "学生id")
    private Long studentId;
}
